package com.jhws.sys.appUser.bo;

import com.jhws.common.base.bo.BaseBo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "tbl_sipacount_dim")
@Entity
public class TblSipAcountDimBo extends BaseBo {

    /**
     * 序列化
     */
    private static final long serialVersionUID = 5447205204857052054L;

    @Id
    @Column(name = "acount_id")
    private String acountId;
    private String username;
    private String password;
    private String type;

    @Column(name = "nick_name")
    private String nickName;

    @Column(name = "headpic_url")
    private String headpicUrl;
    @Column(name = "rom_type")
    private String romType;
    @Column(name = "is_synch", columnDefinition = "INT default 0")
    private int isSynch; //是否同步
    /* 手机厂商 */
    private String vendor;
    /* 推送token */
    @Column(name = "push_token")
    private String pushToken;

    public String getAcountId() {
        return acountId;
    }

    public void setAcountId(String acountId) {
        this.acountId = acountId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getHeadpicUrl() {
        return headpicUrl;
    }

    public void setHeadpicUrl(String headpicUrl) {
        this.headpicUrl = headpicUrl;
    }

    public String getRomType() {
        return romType;
    }

    public void setRomType(String romType) {
        this.romType = romType;
    }

    public int getIsSynch() {
        return isSynch;
    }

    public void setIsSynch(int isSynch) {
        this.isSynch = isSynch;
    }

    public String getVendor() {
        return vendor;
    }

    public void setVendor(String vendor) {
        this.vendor = vendor;
    }

    public String getPushToken() {
        return pushToken;
    }

    public void setPushToken(String pushToken) {
        this.pushToken = pushToken;
    }

    @Override
    public String toString() {
        return "TblSipAcountDimBo{" +
                "acountId='" + acountId + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", type='" + type + '\'' +
                ", nickName='" + nickName + '\'' +
                ", headpicUrl='" + headpicUrl + '\'' +
                ", romType='" + romType + '\'' +
                ", isSynch=" + isSynch +
                ", vendor='" + vendor + '\'' +
                ", pushToken='" + pushToken + '\'' +
                '}';
    }
}
